package com.guaoran.interview.spring.aop.service;

/**
 * @author : 孤傲然
 * @description : aop 编程式
 * @date :2020/1/5 18:30
 */
public class ProgramAopServiceImpl implements ProgramAopService {
    @Override
    public String programAop() {
        System.out.println("....................ProgramAopServiceImpl......................");
//        return "programAop";
        throw new RuntimeException("runtimeException......");
    }

    @Override
    public void queryAll() {
        System.out.println("queryAll");
    }

    @Override
    public void query() {
        System.out.println("query");

    }

    @Override
    public void save() {
        System.out.println("save");

    }
}
